package com.java.example.ui.fragment

import android.os.Bundle
import android.view.View
import androidx.fragment.app.viewModels
import com.java.example.R
import com.java.example.base.BaseFragment
import com.java.example.databinding.FragmentProjectManagerBinding
import com.java.example.ui.viewmodel.ProjectManagerViewModel

class ProjectManagerFragment : BaseFragment<FragmentProjectManagerBinding>(R.layout.fragment_project_manager) {
    val viewModel: ProjectManagerViewModel by viewModels()

    override fun onViewCreated(view: View, savedInstanceState: Bundle?) {
        super.onViewCreated(view, savedInstanceState)
        viewModel.binding = this.binding
        binding.viewModel = this.viewModel
        binding.click = Clickable()
        binding.lifecycleOwner = this
        viewModel.init(requireActivity())
    }

    inner class Clickable {

    }
}